package com.ruoyi.hospital.domain.shop;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购物车对象 shop_orders_cart
 * 
 * @author wendao
 * @date 2025-06-09
 */
public class ShopOrdersCart extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 药品id */
    @Excel(name = "药品id")
    private Integer drugId;

    /** 患者id */
    @Excel(name = "患者id")
    private Integer memberId;

    /** skuid */
    @Excel(name = "skuid")
    private Integer skuId;

    private String spData;
    private String  pic;   //sku主图
    private String drugName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer drugNum;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal drugPriceTotal;


    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSpData() {
        return spData;
    }

    public void setSpData(String spData) {
        this.spData = spData;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDrugId(Integer drugId) 
    {
        this.drugId = drugId;
    }

    public Integer getDrugId() 
    {
        return drugId;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setSkuId(Integer skuId) 
    {
        this.skuId = skuId;
    }

    public Integer getSkuId() 
    {
        return skuId;
    }
    public void setDrugNum(Integer drugNum) 
    {
        this.drugNum = drugNum;
    }

    public Integer getDrugNum() 
    {
        return drugNum;
    }
    public void setDrugPriceTotal(BigDecimal drugPriceTotal) 
    {
        this.drugPriceTotal = drugPriceTotal;
    }

    public BigDecimal getDrugPriceTotal() 
    {
        return drugPriceTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drugId", getDrugId())
            .append("memberId", getMemberId())
            .append("skuId", getSkuId())
            .append("drugNum", getDrugNum())
            .append("drugPriceTotal", getDrugPriceTotal())
            .append("createTime", getCreateTime())
            .toString();
    }
}
